//
//  UILabel+Category.swift
//  WeiBoOfSwift
//
//  Created by aven wu on 26/04/2018.
//  Copyright © 2018 GML. All rights reserved.
//

import Foundation
extension UILabel{
    
    /// 快速创建一个UILabel
    class func createLabel(color: UIColor, fontSize: CGFloat) -> UILabel
    {
        let label = UILabel()
        label.textColor = color
        label.font = UIFont.systemFont(ofSize: 14)
        return label
    }
}
